//修改数据的hook 内部是函数
export default {
    addcount(state) {
        state.count++
    },
    addcountN(state, {
        n,
        m
    }) {
        // console.log(n,m);
        state.count += n + m
        state.price -= n + m
    },
    getMovieList(state, reslut) {
        state.movie = reslut
    },
    filterMovieLsit(state, reslut) {
        state.movie = reslut
    }
}